package com.aaa.service.impl;

import com.aaa.dao.FcartMapper;
import com.aaa.entity.Fcart;
import com.aaa.service.FcartServiceDao;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class FcartServiceImpl extends ServiceImpl<FcartMapper, Fcart> implements FcartServiceDao {
    @Resource
    FcartMapper fcartMapper;

    @Override
    public List<Map<String, Object>> find(Integer user) {
        return fcartMapper.find(user);
    }

    @Override
    public List<Map<String, Object>> ficart() {
        return fcartMapper.ficart();
    }

    @Override
    public int del(Integer id) {
        return fcartMapper.del(id);
    }


}
